cpupool: Check for memory allocation failure on switching schedulers
authorKeir Fraser <keir@xen.org>
Sun, 6 Feb 2011 16:07:27 +0000 (16:07 +0000)
committerKeir Fraser <keir@xen.org>
Sun, 6 Feb 2011 16:07:27 +0000 (16:07 +0000)
commitb9a9873c2e97a765c5136b223bf8921f3bd40c66
tree72c3bfe424d7204e11ad88e040d0d4fed7c87362
parenta69a0358f60de0ce4d00645d1599f7f7284a32c2
cpupool: Check for memory allocation failure on switching schedulers

When switching schedulers on a physical cpu due to a cpupool operation
check for a potential memory allocation failure and stop the operation
gracefully.

Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
xen/common/cpupool.c
xen/common/schedule.c
xen/include/xen/sched.h